package com.prs.crm.service.online.Impl;

import java.util.List;

import com.prs.crm.dao.online.VoteItemDao;
import com.prs.crm.domain.online.VoteItem;
import com.prs.crm.service.impl.BaseServiceImpl;
import com.prs.crm.service.online.VoteItemService;

public class VoteItemServiceImpl extends BaseServiceImpl<VoteItem, VoteItemDao> implements VoteItemService{

	@Override
	public List<VoteItem> getVoteItem(String[] name) {
		return this.getDao().getVoteItem(name);
	}

	@Override
	public List<VoteItem> getAllVoteItem() {
		return this.getDao().getAllVoteItem();
	}

	@Override
	public VoteItem getVoteItems(Integer id) {
		return this.getDao().getVoteItems(id);
	}

	@Override
	public List<VoteItem> getVoteItemById(Integer id) {
		return this.getDao().getVoteItemById(id);
	}

}
